CLK_FREQ=50000000
UART_BPS=960000
N=CLK_FREQ/UART_BPS
console.log(2*N)